/*
    ColorBox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none;}
.cboxIframe{width:100%; height:100%; display:block; border:0;}
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}

/* 
    User Style:
    Change the following styles to modify the appearance of ColorBox.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxOverlay{background:#000;}
#colorbox{outline:0;}
#cboxContent{margin-top:20px;background:#000;}
.cboxIframe{background:#fff;}
#cboxError{padding:50px; border:1px solid #ccc;}
#cboxLoadedContent{border:5px solid #000; background:#fff;}
#cboxTitle{position:absolute; top:-20px; left:0; color:#ccc;}
#cboxCurrent{position:absolute; top:-20px; right:0px; color:#ccc;}
#cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}

/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }

/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}

#cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;}
#cboxPrevious{position:absolute; top:50%; left:5px; margin-top:-32px; 
              /*background:url(images/controls.png) no-repeat top center; */
              background:url() no-repeat top center;
              width:28px; height:65px; text-indent:-9999px;}
#cboxPrevious:hover{background-position:bottom left;}
#cboxNext{position:absolute; top:50%; right:5px; margin-top:-32px; 
          /*background:url(images/controls.png) no-repeat top center; */
          background:url() no-repeat top center;
          width:28px; height:65px; text-indent:-9999px;}
#cboxNext:hover{background-position:bottom right;}
#cboxClose{position:absolute; top:5px; right:5px; display:block; 
           /*background:url(images/controls.png) no-repeat top center; */
           background:url() no-repeat top center;
           width:38px; height:19px; text-indent:-9999px;}
/*#cboxClose:hover{background-position:bottom center;}*/


.loadmask {
    z-index: 100;
    position: absolute;
    top:0;
    left:0;
    -moz-opacity: 0.8;
    opacity: .80;
    filter: alpha(opacity=80);
    background-color: #FFF;
    width: 100%;
    height: 100%;
    zoom: 1;
}
.loadmask-msg {
    z-index: 20001;
    position: absolute;
    top: 160px !important;
    left: 0;
    border:1px solid #FFFFFF;
    background: none;
    padding:2px;
    border: 3px solid #FDB913;
    border-radius: 3px;

}
.loadmask-msg div {
    padding:10px 10px 5px 25px;
    padding:15px 15px 15px 65px;
    background: #fbfbfb url('../img/load_mask/loading.gif') no-repeat 5px 8px;
    background: #FFF url('../img/load_mask/ajax-loader.gif') no-repeat 3px 2px;
    line-height: 16px;
    color:#666;
    font:normal 18px 'Lato',Arial;
    cursor:wait;
    text-shadow: none
}
.masked {
    overflow: hidden !important;
}
.masked-relative {
    position: relative !important;
    min-height: 270px
}
.masked-hidden {
    visibility: hidden !important;
}
#search-body .loadmask-msg 
{
    background: none repeat scroll 0 0 #FBF8F3;
    left: 50% !important;
    margin: -25px 0 0 50px;
    position: fixed;
    text-shadow: 0 1px 0 #FFFFFF;
    top: 50% !important;
    z-index: 1000;
    overflow: hidden
}
/* FILTER */
#filter {
    /*padding: 21px 12px 0 11px;*/
}
#filter a {
    /*color: #333333;*/
    display: block;
}
#filter a:hover {
    text-decoration: none;
}
/*#filter h3 {
    border-bottom: 1px solid #DDDCDC;
    color: #777777;
    font-size: 13px;
    font-weight: 400;
    line-height: 19px;
    margin: 7px 0 0;
    padding: 3px 0;
    position: relative;
    text-shadow: 0 1px 0 #FFFFFF;
}
#filter h3:hover {
    cursor: pointer;
}*/
#filter h3 .ui-icon-triangle-1-e, #filter h3 .ui-icon-triangle-1-s {
    background-image: url("../img/ui-icons_454545_256x240.png");
    display: block;
    height: 16px;
    position: absolute;
    right: 0;
    top: 6px;
    width: 16px;
}
#filter h3 .ui-icon-triangle-1-e {
    background-position: -97px 0;
}
#filter h3 .ui-icon-triangle-1-s {
    background-position: -66px 0;
}
#filter h4 {
    margin: 0 0 13px;
}
#filter .filter_item {
    background-image: url("../img/filter/c_f.png");
    background-position: 6px 5px;
    background-repeat: no-repeat;
    line-height: 1.3em;
    padding: 3px 2px 3px 24px;
    text-align: right;
    text-transform: capitalize;
}
#filter .filter_item span {
    float: left;
    max-width: 170px;
    overflow: hidden;
    padding-left: 1px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#filter .filteroptions .active .filter_item {
    background-color: #5075B9;
    background-image: url("../img/filter/c_t.png");
    background-position: 6px 4px;
}
#filter .filterelement:hover .filter_item {
    /*background-color: #FAF6EE;*/
    /*color: #333333;*/
}
#filter .filteroptions .filterelement:hover {
    color: #5075B9;
}
#filter .filteroptions a.active {
    color: #FFFFFF;
}
#filter .filteroptions a.active:hover {
    background-color: #990000;
    color: #FFFFFF;
}
#filter .filteroptions a.active:hover .filter_item {
    background-color: #990000;
    color: #FFFFFF;
}
#filter .filtercategory {
}
#filter_distances {
    padding: 3px 2px 3px 5px;
}
#filter_distances span {
    display: inline-block;
    padding: 3px 0 11px;
}
#filter_distances span.value-distance {
    font-weight: bold;
    padding-left: 3px;
}
#slider-distances-beach {
    margin-bottom: 17px !important;
}

/*the slider background*/
#filter .slider {
    background: url("../img/slider/slider-bg.png") repeat scroll 0 0 #5075B9;
    border-radius: 7px 7px 7px 7px;
    height: 7px;
    margin:0;
    padding:0;
    position: relative;
    width: 200px;
    margin-left: 5px
}

/*Style for the slider button*/
#filter .ui-slider-handle {
    width:24px;
    height:24px;
    position:absolute;
    top:-0.8em;
    margin-left:-1em;
    z-index:200;
    background:url(../img/slider/slider-button.png);
    border: 0;
    box-shadow: none;
}

/*Result div where the slider value is displayed*/
#filter #slider-result {
    font-size:50px;
    height:200px;
    font-family:Arial, Helvetica, sans-serif;
    color:#fff;
    width:250px;
    text-align:center;
    text-shadow:0 1px 1px #000;
    font-weight:700;
    padding:20px 0;
}

/*This is the fill bar colour*/
#filter .ui-widget-header {
    background: url("../img/slider/slider-bg.png") repeat scroll 0 -17px #F79020;
    border-radius: 7px 7px 7px 7px;
    height: 7px;
    position:absolute;
    left: 0px
}
#filter a {
    outline:none;
    -moz-outline-style:none;
}

/*Make Calendar CSS*/
#calendar{
    /*margin-left: 9px;*/
}

#calendar .ui-datepicker-header {
    border-color: #111111;
    border-style: solid;
    border-width: 0;
    box-shadow: none;
    font-weight: normal;
    line-height: 29px;
    text-shadow: 1px -1px 0 #EFEFEF;
    text-shadow: none !important;
    background: none;
    color: #333;
    font-size: 13px;
}
#calendar .ui-datepicker thead{
    background: transparent;
    border-bottom: 0;

}
#calendar .ui-datepicker th {
    color: #333333;
    font-size: 8pt;
    padding: 8px 0 13px;
    /*    text-shadow: 1px 0 0 #FFFFFF;*/
    text-transform: none;
}

#calendar .ui-datepicker tbody tr,
#calendar .ui-datepicker tbody td
{
    border-color: #fff
}
#calendar .ui-datepicker td span, #calendar .ui-datepicker td a{
    font-weight: normal;
    height: 19px;
    line-height: 21px;
    width: 25px;

}
#calendar .ui-datepicker td a:hover{text-decoration: none}
#calendar .ui-datepicker-calendar td:first-child .ui-state-active {
    margin-left: 0;
}
#calendar .ui-datepicker-calendar td:last-child .ui-state-active {
    margin-right: 0;
}

.cal_border{
    border: 1px solid #DDDCDC;
    padding-bottom: 10px;
    padding-top: 5px;
    border-radius: 5px;
    margin-top: 7px;
}
#claendar_css{
    margin-top: 10px
}
#claendar_css .too_many span {
    display: block;
    margin: 5px 0 -1px;
    padding: 5px 0 0;
    text-align: center
}

#calendar .ui-datepicker{
    width: 48em !important; 
    box-shadow: none; 
    position: relative;
    margin: 0
}
#calendar .ui-datepicker-group{
    float: left;
    margin-left: 10px
}
#calendar .ui-datepicker-calendar .ui-state-active{
    margin: 0;
    text-shadow: none
}
#calendar .ui-state-disabled{
    background-image: none;
    opacity: 0.35;
}

#calendar .ui-state-default {
    background: none repeat scroll 0 0 #D1E7D1 !important;
    border: medium none !important;
    color: green !important;
}
#calendar td.zauzeto,
#calendar .zauzeto a,
#calendar td.trenutno,
#calendar .trenutno a,
#calendar .ui-datepicker-calendar .ui-state-active
{
    text-shadow:  none !important;
    box-shadow: none
}

#calendar td.zauzeto,
#calendar .zauzeto a{
    background-color: #F1AAAA !important;
    color: red !important;
    border-color: #FFF !important
}
#calendar td.trenutno,
#calendar .trenutno a{
    background-color: #FED19A !important;
    color: green !important;
}
#calendar td.zauzeto.trenutno,
#calendar .zauzeto.trenutno a{
    color: #FFF !important;
    background-color: #FF2121 !important;
    text-shadow: none !important;
}

#calendar .zauzeto_dolazak a,
#calendar .zauzeto_odlazak a,
#calendar .trenutno_dolazak a,
#calendar .trenutno_odlazak a
{
    background: url(../img/calendar/bg_availability.jpg) no-repeat 0 0 transparent  !important;
}

#calendar .trenutno_dolazak a {
    background-position: 0 -177px !important;
    color: #489a40 !important;
}
#calendar .trenutno_odlazak a {
    background-position: 0 -199px !important;
    color: #489a40 !important;
}
#calendar .zauzeto_dolazak a {
    background-position: 0 -3px !important;
    color: green !important;
}
#calendar .zauzeto_odlazak a {
    background-position: 0 -155px !important;
    color: green !important;
}
#calendar .zauzeto_dolazak.trenutno_odlazak a {
    background-position: 0 -135px !important;
    color: green !important;
}
#calendar .zauzeto_odlazak.trenutno_dolazak a {
    background-position: 0 -68px !important;
    color: green !important;
}
#calendar .zauzeto_dolazak.trenutno_dolazak a {
    background-position: 0 -90px !important;
    color: green !important;
}
#calendar .zauzeto_dolazak.trenutno a {
    background-position: 0 -90px !important;
    color: green !important;
}
#calendar .zauzeto_odlazak.trenutno_odlazak a {
    background-position: 0 -112px !important;
    color: green !important;
}
#calendar .zauzeto_odlazak.trenutno a {
    background-position: 0 -112px !important;
}
#calendar .zauzeto.trenutno_odlazak a {
    background-position: 0 -47px !important;
    color: #fff !important;
}
#calendar .zauzeto.trenutno_dolazak a {
    background-position: 0 -25px !important;
    color: #fff !important;
}




.cal_legend {
    color: #3F3F3F;
    font-size: 11px;
    margin-top: 13px;
    padding: 8px 4px;
    text-align: center;
}
.cal_legend li {
    display: inline-block;
    margin-right: 10px;
}
.cal_legend span {
    margin: 0;
    padding: 2px 5px 1px 4px;
}
.cal_legend .f {
    background-color: #D1E7D1;
    color: green;
}
.cal_legend .t {
    background-color: #F1AAAA;
    color: red;
}
.cal_legend .s {
    background-color: #FED19A;
    color: green;
}
.cal_legend .m {
    background-color: #FF0000;
    color: #FFFFFF;
}
.cal_legend #instructions{
    margin-top: 10px;
    margin-bottom: 3px
}

#calendar .ui-datepicker-next {
    background-position: center -3px;
    float: right;
}
#calendar .ui-datepicker-prev, #calendar .ui-datepicker-next {
    background-image: url("../img/calendar/arrow_cal.png");
    height: 15px;
    margin-top: 7px;
    width: 15px
}
#calendar .ui-datepicker-prev {
    background-position: center -21px;
    float: left;
}

/* Pajinate pagination */
.page_navigation {
    margin: 10px 0 7px 15px;
    height: 26px;
}

.page_navigation a, 
.page_navigation a:active, 
.page_navigation a:focus{
    padding:3px 5px;
    margin:2px;
    color:white;
    text-decoration:none;
    float: left;
    font-size: 12px;
    background-color:#ED6A1E;
    border-radius: 3px
}
.page_navigation a:hover{
    background-color:#DB5C04;
    color: white
}
.active_page{
    background-color:#DDDCDC !important;
    color:#414141 !important;
}
.page_navigation a.previous_link,
.page_navigation a.next_link{
    margin: 2px 7px
}